package com.mvity.framework.system.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.mvity.framework.common.base.BaseEntity;

@Entity
@Table(name = "system_user_extend")
public class SystemUserExtend extends BaseEntity {

	private static final long serialVersionUID = 4601522286255440583L;

	@Column(name = "user_id", length = 32, nullable = false, updatable = false, unique = true)
	private String userId;

	/**
	 * 移动电话
	 */
	@Column(name = "mobile_phone", length = 100)
	private String mobilePhone;

	/**
	 * 办公电话
	 */
	@Column(name = "office_phone", length = 100)
	private String officePhone;

	/**
	 * 住宅电话
	 */
	@Column(name = "home_phone", length = 100)
	private String homePhone;

	/**
	 * 办公邮箱
	 */
	@Column(name = "office_email", length = 500)
	private String officeEmail;

	/**
	 * 其他邮箱
	 */
	@Column(name = "other_email", length = 500)
	private String otherEmail;

	/**
	 * 生日
	 */
	@Column(name = "user_birthday")
	@Temporal(TemporalType.TIMESTAMP)
	private Date userBirthday;

	/**
	 * 职位
	 */
	@Column(name = "user_position", length = 32)
	private String userPosition;
	
	

	/**
     * @return the userId
     */
    public String getUserId() {
    	return userId;
    }

	/**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the mobilePhone
	 */
	public String getMobilePhone() {
		return mobilePhone;
	}

	/**
	 * @param mobilePhone
	 *            the mobilePhone to set
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	/**
	 * @return the officePhone
	 */
	public String getOfficePhone() {
		return officePhone;
	}

	/**
	 * @param officePhone
	 *            the officePhone to set
	 */
	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}

	/**
	 * @return the homePhone
	 */
	public String getHomePhone() {
		return homePhone;
	}

	/**
	 * @param homePhone
	 *            the homePhone to set
	 */
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}

	/**
	 * @return the officeEmail
	 */
	public String getOfficeEmail() {
		return officeEmail;
	}

	/**
	 * @param officeEmail
	 *            the officeEmail to set
	 */
	public void setOfficeEmail(String officeEmail) {
		this.officeEmail = officeEmail;
	}

	/**
	 * @return the otherEmail
	 */
	public String getOtherEmail() {
		return otherEmail;
	}

	/**
	 * @param otherEmail
	 *            the otherEmail to set
	 */
	public void setOtherEmail(String otherEmail) {
		this.otherEmail = otherEmail;
	}

	/**
	 * @return the userBirthday
	 */
	public Date getUserBirthday() {
		return userBirthday;
	}

	/**
	 * @param userBirthday
	 *            the userBirthday to set
	 */
	public void setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
	}

	/**
	 * @return the userPosition
	 */
	public String getUserPosition() {
		return userPosition;
	}

	/**
	 * @param userPosition
	 *            the userPosition to set
	 */
	public void setUserPosition(String userPosition) {
		this.userPosition = userPosition;
	}

}
